package com.ruoyi.qiuyue.handler.exception;

import com.ruoyi.qiuyue.common.UserConstat;
import lombok.Data;

/**
 * 用户不存在
 */
@Data
public class UserNullException extends RuntimeException{
    private String msg = UserConstat.USER_IS_NULL_ERROR;
    public UserNullException(){
        super(UserConstat.USER_IS_NULL_ERROR);
    }
    public UserNullException(String msg){
        super(msg);
        this.msg = msg;
    }
}
